package com.javablog.elasticsearch.util;

import lombok.Data;
import org.apache.commons.lang.StringUtils;

import java.io.Serializable;

/**
 * @author Promise.H
 * @date 2020-05-06
 */
//@Data
public class FileKey implements Serializable {
    private static final long serialVersionUID = -4145384999034540528L;

    private String key;

    private String fileType;


    private String fileName;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    public static void main(String[] args) {
        String cc="";
        String substring1 = StringUtils.substring(cc, 0,100);
//        String substring = cc.substring(0, 100);
        System.out.println(substring1);
    }
}
